package com.evil.application.pojo.dto.notify;

import cn.hutool.core.bean.BeanUtil;
import com.evil.application.pojo.entity.ApplicationNotifySetting;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 应用提醒设置 实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
public class ApplicationNotifySettingDTO {

    /**
     * id
     */
    private Long applicationNotifySettingId;

    /**
     * 待办提醒(0:否, 1:是)
     */
    private Integer notifyPending;

    /**
     * 申请结果(0:否, 1:是)
     */
    private Integer notifyResult;

    /**
     * 抄送提醒(0:否, 1:是)
     */
    private Integer notifyCarbonCopy;

    /**
     * 回退通知(0:否, 1:是)
     */
    private Integer notifyFallback;

    /**
     * 促办通知(0:否, 1:是)
     */
    private Integer notifyPromotion;

    /**
     * 留言通知(0:否, 1:是)
     */
    private Integer notifyMessage;

    /**
     * 超时相关通知(0:否, 1:是)
     */
    private Integer notifyOvertime;

    /**
     * 微信提醒(0:关闭, 1:开启)
     */
    private Integer wxNotify;

    /**
     * 邮箱提醒(0:关闭, 1:开启)
     */
    private Integer mailNotify;

    public ApplicationNotifySettingDTO(ApplicationNotifySetting applicationNotifySetting) {
        BeanUtil.copyProperties(applicationNotifySetting, this);
    }
}
